package org.jzs.mybaseapp.section.home;

import org.jzs.mybaseapp.common.retorift.BaseBean;
import org.jzs.mybaseapp.common.system.AppConfig;
import org.jzs.mybaseapp.section.home.entity.LoginBean;

import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by Jzs on 2017/7/31.
 */
public interface LoginApi {
    @POST(AppConfig.LOGIN)
    Observable<BaseBean<LoginBean>> login(@Query("mobile") String userName, @Query("password") String pwd);

}
